package com.roy.wakeupres;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.roy.wakeupres.mapper")
@EnableScheduling // 开启定时任务
public class WakeupResApplication {

    public static void main(String[] args) {
        SpringApplication.run(WakeupResApplication.class, args);
    }

}
